package com.sy.common.service;

import com.sun.jdi.connect.Connector;
import com.sy.cloud.guess.model.Gokguessnum;
import com.sy.cloud.guess.model.Heroset;
import com.sy.cloud.guess.model.JOrder;
import com.sy.cloud.wechat.model.WechatUser;
import com.sy.common.model.Juejinuser;

import java.util.List;
import java.util.Map;

/**
 * Created by mac on 2017/12/6.
 */
public interface ITestService {
    void addUser(Juejinuser juejinuser);

    void updateUser(Juejinuser juejinuser );

    Double getMoney( String phone );
    // 下单接口
    boolean dealdb(JOrder order);

    boolean updateGokguessnum(Gokguessnum gok);

    String getMaxIssue();

    void updateWinaOrLose(Integer issue,Gokguessnum gok);
    List<Heroset> getList();
    List<Object[]> getList3();
    Map<Integer,Integer> oddsSet(String type);
    Map<String,Double> probaSet(String type);

    String getAccesstoken( String weixinId );

    void addModel(WechatUser wechatUser);
    WechatUser getWechatInfo( String openid );

}
